import http from '@/utils/httpRequest'
import ApiUrl from '@/constant/api-url'

let config = {
  headers: {
    'Content-Type': 'multipart/form-data;charset=utf-8'
  },
  transformRequest: [function (data) {
    return data
  }]
}

const welcomeApi = {
  /**
   * 查询所有云朵图数据
   */
  queryAll: function () {
    return http({
      baseURL: ApiUrl.API_HOST_BASE,
      url: http.adornUrl('api/welcome/main-text'),
      method: 'post'
    })
  }
}

export default welcomeApi